package com.paypal.android.b;

import android.content.Context;
import android.graphics.drawable.GradientDrawable;
import android.graphics.drawable.GradientDrawable.Orientation;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;
import com.paypal.android.a.g;
import com.paypal.android.a.q;
import com.paypal.android.a.r;

public final class k extends LinearLayout
{
  private Context a;
  private GradientDrawable b;
  private ImageView c;
  private TextView d;

  public k(Context paramContext, m paramm)
  {
    super(paramContext);
    this.a = paramContext;
    setOrientation(0);
    setLayoutParams(new LinearLayout.LayoutParams(-1, -2));
    setGravity(16);
    LinearLayout localLinearLayout = new LinearLayout(paramContext);
    localLinearLayout.setOrientation(1);
    localLinearLayout.setGravity(17);
    localLinearLayout.setPadding(5, 10, 5, 10);
    switch (l.a[paramm.ordinal()])
    {
    default:
    case 1:
    case 2:
    case 3:
    case 4:
    }
    while (true)
    {
      localLinearLayout.addView(this.c);
      addView(localLinearLayout);
      addView(this.d);
      return;
      this.b = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -3172, -52 });
      this.b.setStroke(1, -12529);
      this.b.setCornerRadius(3.0F);
      setBackgroundDrawable(this.b);
      this.c = g.a(this.a, "system-icon-error.png");
      this.d = q.a(r.f, paramContext);
      this.d.setTextColor(-65536);
      continue;
      this.b = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -3172, -52 });
      this.b.setStroke(1, -12529);
      this.b.setCornerRadius(3.0F);
      setBackgroundDrawable(this.b);
      this.c = g.a(this.a, "system-icon-alert.png");
      this.d = q.a(r.f, paramContext);
      this.d.setTextColor(-65536);
      continue;
      this.b = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -3219987, -1510918 });
      this.b.setStroke(1, -8280890);
      this.b.setCornerRadius(3.0F);
      setBackgroundDrawable(this.b);
      this.c = g.a(this.a, "system-icon-confirmation.png");
      this.d = q.a(r.f, paramContext);
      this.d.setTextColor(-13408768);
      continue;
      this.b = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[] { -3219987, -1510918 });
      this.b.setStroke(1, -8280890);
      this.b.setCornerRadius(3.0F);
      setBackgroundDrawable(this.b);
      this.c = g.a(this.a, "system-icon-notification.png");
      this.d = q.a(r.f, paramContext);
      this.d.setTextColor(-13408615);
    }
  }

  public final void a(String paramString)
  {
    this.d.setText(paramString);
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.b.k
 * JD-Core Version:    0.6.2
 */